Skip to content

Use major version ref of action in workflow #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Use major version ref of action in workflow #168

merged 1 commit into from
Apr 6, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Apr 3, 2021

At the time the workflow was written the authors of the rtCamp/action-slack-notify GitHub Action did not provide a major version ref. This meant that it was necessary to pin the action to a specific version.

Since then, a few new patch releases have been made, meaning an outdated version of the action was in use as a consequence of the pinning.

The action now offers a v2 major ref. Use of this ref will cause the workflow to benefit from ongoing development to the action up until such time as a new major release is made, at which time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before updating the major ref (e.g., v3).

One of the changes made since the v2.1.0 release that was pinned is the switch from docker.io to ghcr.io as the action's Docker container registry in response to rtCamp/action-slack-notify#52
It's possible this change will help to avoid future spurious workflow failures such as the one experienced in https://github.com/arduino/arduino-lint/actions/runs/714065327

At the time the workflow was written the authors of the rtCamp/action-slack-notify GitHub Action did not provide a major version ref. This meant that it was necessary to pin the action to a specific version.

Since then, a few new patch releases have been made, meaning an outdated version of the action was in use as a consequence of the pinning. 

The action now offers a `v2` major ref. Use of this ref will cause the workflow to benefit from ongoing development to the action up until such time as a new major release is made, at which time we would need to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before updating the major ref (e.g., `v3`).
@per1234 per1234 added type: enhancement Proposed improvement priority: low Resolution is a low priority topic: infrastructure Related to project infrastructure labels Apr 3, 2021
@per1234 per1234 requested a review from silvanocerza April 3, 2021 14:10
@per1234 per1234 merged commit 406e297 into arduino:main Apr 6, 2021
@rsora rsora added criticality: low Of low impact and removed priority: low Resolution is a low priority labels Nov 2, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: low Of low impact topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants